<extend name="Base/common"/>
<block name="body">
    <link type="text/css" rel="stylesheet" href="__CSS__/news.css"/>
    
    	<!--大banner图-->
		<div class="m-banner am-cf"><img src="__PUBLIC__/images/banner1.jpg"></div>
		<!--大banner图-->
		<div class="container  am-padding-0 con-color am-cf index-project-mp">
            <!--搜索等-->
				<include file="Public/search_e"/>
            <!--搜索等-->
		 	<!--副标题-->
            <div class="path am-padding-1-sm am-padding-horizontal-md am-padding-horizontal-lg am-margin-bottom am-cf">
            	<div class="subtitle  am-u-sm-12 am-u-md-6 am-u-lg-6 am-padding-0-sm">
				    <strong>V</strong>
				    <h3>新闻中心 / <span>列表</span></h3>
				    <p>
				        志/愿/青/春&nbsp;爱/我/寿/光<br/>
				        OLUNTEER PROJECT
				    </p>
				</div>
                <include file="Public/detail_login"/>
            </div>
        	<!--副标题-->
			<div class="am-tabs am-tabs-default news-nav">
		      	<ul class="am-tabs-nav am-cf am-padding-0">
					<li class="am-active am-u-sm-12 am-u-md-6 am-text-center"><a href="{:U('News/index/index',array('category'=>2))}">风采</a></li>
					<li class="am-u-sm-12 am-u-md-6 am-text-center"><a href="{:U('News/index/index',array('category'=>1))}">公告</a></li>
		      	</ul>
		      <div class="am-tabs-bd am-margin-0 news">
				<div class="am-tab-panel am-active">
					<div class="row am-g">
						
						
					    <ul class="news-list am-margin-0 ">
                                             
							<volist name="list" id="data">
								<include file="Public/_default_list"/>
							</volist>
					 	</ul>
						<div class="pages am-margin-vertical-sm">
	                        {:getPagination($totalCount,modC('NEWS_PAGE_NUM',6,'News'))}
	                    </div>
					</div>
				</div>
				
		     
              	</div>
		    </div>
		</div>
		<script>
			$(document).ready(function(){
				$('.news-nav ul li').each(function(){
					var href = $(this).find('a').attr('href');
					if(location.href.indexOf(href)!=-1){
						$(this).parent('ul').children('li').removeClass('am-active');
						$(this).addClass('am-active');
					}
				});
			})
		</script>
</block>